package com.hn658.base.message.common.enums;


public class ServicesContants {
	
	public static final String REQUEST_CONTEXT = "RequestContext";
	
    /**
     * 请求用户IP
     */
    public static final String SERVICE_REQUEST_HEADER_REAL_IP = "X-real-Ip";

    /**
	 * 用户ID-请求认证HTTP HEAD标签
	 */
	public static final String SERVICE_REQUEST_HEADER_UID = "X-ums-Uid";
	
	/**
     * 前台请求头token
     */
    public static final String SERVICE_REQUEST_HEADER_TOKEN = "X-ums-token";
    
	/**
	 * 应用ID-请求认证HTTP HEAD标签
	 */
	public static final String SERVICE_REQUEST_HEADER_APPID = "X-ums-AppId";
	
	/**
	 * 设备号-请求认证HTTP HEAD标签
	 */
	public static final String SERVICE_REQUEST_HEADER_DEVICEID = "X-ums-DeviceId";
	
	/**
	 * 设备类型-请求认证HTTP HEAD标签
	 */
	public static final String SERVICE_REQUEST_HEADER_DEVICETYPE = "X-ums-DeviceType";
	
	/**
     * 请求签名-请求认证HTTP HEAD标签
     */
    public static final String SERVICE_REQUEST_HEADER_SIGN = "X-ums-Sign";
    
    /**
     * 请求时间戳-请求认证HTTP HEAD标签
     */
    public static final String SERVICE_REQUEST_HEADER_TIMESTAMP = "X-ums-Timestamp";
    
    /**
     * 调用请求签名-请求方法调用签名
     * 调用端以http get query string的方式附加在请求URL后
     */
    public static final String SERVICE_REQUEST_QUERYSTRING_SIGN = "sign";

    /**
     * 调用请求时间戳-请求方法时间戳
     * 调用端以http get query string的方式附加在请求URL后
     */
    public static final String SERVICE_REQUEST_QUERYSTRING_DEVICEID = "deviceId";
    
    public static final String SERVICE_REQUEST_QUERYSTRING_DEVICETYPE = "deviceType";
    
    public static final String SERVICE_REQUEST_QUERYSTRING_AUTHKEY = "authkey";
    
    public static final String SERVICE_REQUEST_QUERYSTRING_UID = "uid";

	/**
	 * cookie中的session key
	 */
	public static final String JSESSIONID = "JSESSIONID";
	
	/**
	 * 令牌Parameter
	 */
	public static final String TOKEN_NAME = "_TOKEN";
	
    /**
     * 排序
     */
	public static final String ASC = "ASC";
	
	public static final String CONTENT_TYPE = "Content-Type";
	
	public static final String APPLICATION_JSON = "application/json; charset=UTF-8";
}
